package com.zxy.fmmall.dao;

import com.zxy.fmmall.entity.ShoppingCart;
import com.zxy.fmmall.entity.ShoppingCartVo;
import com.zxy.fmmall.general.GeneralDAO;
import com.zxy.fmmall.vo.ResultVo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ShoppingCartMapper extends GeneralDAO<ShoppingCart> {

    public List<ShoppingCartVo> listShoppingCart(String userId);

    public int updateCartNumByCartId(@Param("cartId")String cartId,@Param("cartNum") String cartNum);

    public List<ShoppingCartVo> listShoppingCartByCartId(@Param("cartId") List<Integer> cartId);
}